package com.itkf.common.StrategyModel;

public interface AbstractStrategy {
    /**
     * 业务名匹配
     * @return
     */
    String Mark();

    /**
     * 处理逻辑
     * @param require
     */
    <Request>void handle(Request require);

    /**
     * 带返回值的处理逻辑
     * @param require
     * @return
     */
    <Request, Response> Response handlewithResponse(Request require);

}
